package cn.iocoder.yudao.module.common.controller.admin.textbookversion.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 教材版本分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TextbookVersionPageReqVO extends PageParam {

    @Schema(description = "教材版本名称", example = "李四")
    private String versionName;

    @Schema(description = "学科ID", example = "15182")
    private Long subjectId;

    @Schema(description = "年级ID", example = "7991")
    private Long gradeId;

    @Schema(description = "封面地址", example = "https://www.iocoder.cn")
    private String coverUrl;

    @Schema(description = "创建人ID", example = "芋艿")
    private String creatorName;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "更新人ID", example = "王五")
    private String updaterName;

    @Schema(description = "版本号")
    private Integer version;

}